package com.ruoyi.problemrecord.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.problemrecord.mapper.EasProblemrecordMapper;
import com.ruoyi.problemrecord.domain.EasProblemrecord;
import com.ruoyi.problemrecord.service.IEasProblemrecordService;

/**
 * 设备维修记录2Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-03
 */
@Service
public class EasProblemrecordServiceImpl implements IEasProblemrecordService 
{
    @Autowired
    private EasProblemrecordMapper easProblemrecordMapper;

    /**
     * 查询设备维修记录2
     * 
     * @param ID 设备维修记录2主键
     * @return 设备维修记录2
     */
    @Override
    public EasProblemrecord selectEasProblemrecordByID(String ID)
    {
        return easProblemrecordMapper.selectEasProblemrecordByID(ID);
    }

    /**
     * 查询设备维修记录2列表
     * 
     * @param easProblemrecord 设备维修记录2
     * @return 设备维修记录2
     */
    @Override
    public List<EasProblemrecord> selectEasProblemrecordList(EasProblemrecord easProblemrecord)
    {
        return easProblemrecordMapper.selectEasProblemrecordList(easProblemrecord);
    }

}
